package com.gudaomai.wuye.service;

import java.util.List;

import com.gudaomai.wuye.common.CommonException;
import com.gudaomai.wuye.entity.House;
import com.gudaomai.wuye.entity.HpStage;
import com.gudaomai.wuye.service.BaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zenghualu
 * @since 2017-09-01
 */
public interface IHouseServ extends BaseService<House> {

	// 判断住房是否存在
	boolean isExist(String code);
	
	// 获取住房详细编号--阶梯形式
	List<HpStage> getHousesByRegionCode(String code) throws CommonException;
	
	// 获取住房详细编号--列表形式
	List<House> getListHousesByRegionCode(List<String> code) throws CommonException;
}
